<?php 
// Load Header
$this->pageTitle = __("Khám phá", true);

// Load Css
//echo $this->Html->css('news_page');
        
// Load Javascript
?>

<div class="content news_page">
    <h1 class="title" id='title_of_content'>Khám phá</h1>
	<div class="right_content">
		<!-- InstanceBeginEditable name="right content" -->
		<div class="section">
			<h3 class="title" id='title_of_content'>Tỷ giá vàng</h3>
			<table cellspacing="1" cellpadding="0" border="0">
				<tr>
					<th>loại</th>
					<th>bán</th>
					<th>mua</th>
				</tr>
				<tr class="bg_gray">
					<td>vàng SJC 1 Kg</td>
					<td>32.880</td>
					<td>32.930</td>
				</tr>
				<tr>
					<td>vàng SJC 10L</td>
					<td>32.880</td>
					<td>32.930</td>
				</tr>
				<tr class="bg_gray">
					<td>vàng SJC 1L</td>
					<td>32.880</td>
					<td>32.930</td>
				</tr>
				<tr>
					<td>vàng SJC 5c</td>
					<td>32.880</td>
					<td>32.930</td>
				</tr>
				<tr class="bg_gray">
					<td>vàng SJC 1c</td>
					<td>32.880</td>
					<td>32.930</td>
				</tr>
			</table>
		</div>
		<div class="section">
			<h3 class="title">Tỷ giá ngoại tệ</h3>
			<table cellspacing="1" cellpadding="0" border="0">
				<tr>
					<th>loại ngoại tệ</th>
					<th>Mua TM</th>
					<th>Mua CK</th>
				</tr>
				<tr class="bg_gray">
					<td>USD</td>
					<td>19480</td>
					<td>19480</td>
				</tr>
				<tr>
					<td>THB</td>
					<td>655.67</td>
					<td>655.67</td>
				</tr>
				<tr class="bg_gray">
					<td>SGD</td>
					<td>15219.08</td>
					<td>15219.08</td>
				</tr>
				<tr>
					<td>SEK</td>
					<td>0</td>
					<td>2949.82</td>
				</tr>
				<tr class="bg_gray">
					<td>RUB</td>
					<td>0</td>
					<td>596.81</td>
				</tr>
			</table>
		</div>
		<div class="section">
			<h3 class="title">Chứng khoán</h3>
			<table cellspacing="1" cellpadding="0" border="0">
				<tr>
					<th>tên</th>
					<th>giá ngày</th>
					<th>chênh lệch</th>
				</tr>
				<tr class="bg_gray">
					<td>DHG</td>
					<td>110</td>
					<td>0</td>
				</tr>
				<tr>
					<td>VNM</td>
					<td>84</td>
					<td>-0.5</td>
				</tr>
				<tr class="bg_gray">
					<td>HAG</td>
					<td>110</td>
					<td>0</td>
				</tr>
				<tr>
					<td>NBB</td>
					<td>84</td>
					<td>-0.5</td>
				</tr>
				<tr class="bg_gray">
					<td>VIC</td>
					<td>110</td>
					<td>0</td>
				</tr>
			</table>
		</div>
		<div class="section">
			<ul class="poromotion">
				<li><a href="#"><img src="img/news/img_promotion_01.jpg" alt="" /></a></li>
				<li><a href="#"><img src="img/news/img_promotion_02.jpg" alt="" /></a></li>
			</ul>
		</div>
		<!-- InstanceEndEditable -->
	</div>
	<div class="main_content">
		<!-- InstanceBeginEditable name="main content" -->
		<ul class="news_block">
			<?php foreach ($discovers as $discover):?>
			<li>
				<a href="<?php echo $html->url(array('plugin' => 'discovers', 'controller' => 'discovers', 'action' => 'detail', $discover['Discover']['alias'], $category_discover['DiscoverCategory']['alias']));?>"><img class="img_news" src="<?php echo $html->url("/files/discovers/".$html->getThumbnailName($discover['Discover']['image']))?>" alt=""/></a>
				<h4><a href="<?php echo $html->url(array('plugin' => 'discovers', 'controller' => 'discovers', 'action' => 'detail', $discover['Discover']['alias'], $category_discover['DiscoverCategory']['alias']));?>"><?php echo $discover['Discover']['title']?></a></h4>
				<p><?php echo strip_tags($discover['Discover']['description']);?></p>
				<p><span><?php echo date($discover['Discover']['created']); ?></span></p>
			</li>
		<?php endforeach;?>
		</ul>
		<?php echo $this->element('pagination/pagination', array('model' => 'Discover'));?>
        <div class='go_to_top'>[ <a href='#'><?php __("Đầu trang"); ?></a> ]</div>
		<!-- InstanceEndEditable -->
	</div>
</div>
